#include "threadpool_exec_task.h"
#include "threadpool.h"
#include "epoll_server.h"

static void *epoll_server_exec_task(void *arg)
{
    epoll_server_t *epoll_server_struct = epoll_server_init(8848);
    epoll_server_start(epoll_server_struct);
    epoll_server_stop(epoll_server_struct);
    return NULL;
}

void epoll_server_task(ThreadPool *pool)
{
    thread_pool_add_task(pool,epoll_server_exec_task,NULL);
}